import { $get } from '@/api/request'
// const precessEnv = process.env
let preUrl = '/patrol'

// 获取用户信息以及菜单
export const getUserSceneMenuInfo = data => {
  return $get({
    url: `${preUrl}/scene/user/scene/menu`,
    data
  })
}

// 获取菜单
export const getUserTree = data => {
  return $get({
    url: `${preUrl}/scene/getTenantAllRoleUserList`,
    data
  })
}
